home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / QDDVX102.ZIP / contrib / dvx / inc / helpp.h < prev    next >
Text File  |  1993-07-15  |  1KB  |  44 lines

  1. #ifndef __HELPP_H__
  2. #define __HELPP_H__
  3.  
  4. #include <help.h>
  5. #include <X11\X.h> /* For definition of Window */
  6.  
  7. /* INIT FLAGS */
  8.  
  9. #define HF_NO_FLAGS               0
  10. #define HF_ORPHAN                 (1 << 0)
  11. #define HF_SPAWN                  (1 << 1)
  12. #define HF_NO_CLOSE_ON_TERMINATE  (1 << 2)
  13. #define HF_BREAKOPEN              (1 << 3)
  14.  
  15. #define HF_FIRST_CALL             (1 << 7) /* internal use only */
  16.  
  17. /* COMMAND CODES */
  18.  
  19. #define HC_GOTO         1
  20. #define HC_TERMINATE    2
  21.  
  22. /* PRIVATE STRUCTURE */
  23.  
  24. typedef struct _HelpItem {
  25.   void           *previous;
  26.   void           *next;
  27.   unsigned long   signature;
  28.   char           *display_name;
  29.   short           display_name_len;
  30.   Window          group_id;
  31.   char           *win_title;
  32.   short           win_title_len;
  33.   char           *file_name;
  34.   short           file_name_len;
  35.   short           flags;
  36.   char           *help_pif;
  37.   short           start_timeout;
  38.   short           send_timeout;
  39.   Help_callback   callback;
  40.   void           *user_arg;
  41.   } HelpItem;
  42.  
  43. #endif /* __HELPP_H__ */
  44.